package com.hunan.api.catv.dao.attention;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hunan.api.catv.dao.BaseDao;
import com.hunan.api.catv.entity.dto.MemberAttentionDto;
import com.hunan.api.catv.entity.po.MemberAttentionRecord;
import com.hunan.api.catv.entity.vo.MemberAttentionRecordVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户关注记录表 Mapper 接口
 * </p>
 *
 * @author wangchao
 * @since 2020-12-07
 */
@Mapper
public interface MemberAttentionRecordMapper extends BaseMapper<MemberAttentionRecord>, BaseDao<MemberAttentionRecord, MemberAttentionRecordVo, Integer> {

    List<MemberAttentionDto> getNewsListByMemberId(@Param("memberId") Integer memberId);

}
